export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
  "column": [
	  {
      "type": "select",
      "label": "设备类型",
      "prop": "equipmentTypeCode",
      "span": 12,
      rules: [
        { required: true, message: '请选择设备类型', trigger: 'blur' }
      ],
      "dicUrl": '/pbms/arcequipmenttype/getEquipmentTypeAll',
      props: {
        label: 'equipmentName',
        value: 'equipmentTypeCode'
      },
      'search': true,
    },	  {
      "type": "input",
      "label": "类型名称",
      "prop": "typeName",
      "span": 12,
      rules: [
        { required: true, message: '装置类型名称不能为空', trigger: 'blur' },
        { min: 2, max: 60, message: '长度在 2 到 60 个字符', trigger: 'blur' }
      ],
    },	  {
      "type": "input",
      "label": "装置类型编码",
      "prop": "typeCode",
      "span": 12,
      editDisabled: true,
      rules: [
        { required: true, message: '装置类型编码不能为空', trigger: 'blur' },
        { min: 2, max: 60, message: '长度在 2 到 60 个字符', trigger: 'blur' }
      ],
    },	  {
      "type": "input",
      "label": "图片",
      "prop": "devicePicture",
      "span": 12
    },	  {
      "type": "select",
      "label": "是否启用",
      "prop": "status",
      "span": 12,
      'search': true,
      rules: [
        { required: true, message: '请选择启用状态', trigger: 'blur' }
      ],
      dicData: [{
        label: '启用',
        value: 1
      }, {
        label: '停用',
        value: 2
      }]
    },	  {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      "span": 12,
      editDisplay: false,
      addDisplay: false,
      showClomnu: false,
      hide: true
    },	  {
      "type": "input",
      "label": "创建人",
      "prop": "createUser",
      "span": 12,
      editDisplay: false,
      addDisplay: false,
      showClomnu: false,
      hide: true
    },	  {
      "type": "input",
      "label": "修改时间",
      "prop": "updateTime",
      "span": 12,
      editDisplay: false,
      addDisplay: false,
      showClomnu: false,
      hide: true
    },	  {
      "type": "input",
      "label": "修改人",
      "prop": "updateUser",
      "span": 12,
      editDisplay: false,
      addDisplay: false,
      showClomnu: false,
      hide: true
    }  ]
}
